import { UserVo } from "../user/type";

export type Subject = {
    id: string,
    name: string,
    avatar: string,
    creator: UserVo,
}

export type Question = {
    id: string,
    title: string,
    type: string,
    answer: string,
    created: string,
    updated: string
}

export type Choice = {
    options: string[],
    isMultiple: boolean,
    correctAnswer: string[]
}